projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5e2c32
)
Don't free description twice when prefer_shortnames. From Ron.
author
robertl
<robertl>
Tue, 27 May 2003 15:22:21 +0000
(15:22 +0000)
committer
robertl
<robertl>
Tue, 27 May 2003 15:22:21 +0000
(15:22 +0000)
csv_util.c
patch
|
blob
|
history
diff --git
a/csv_util.c
b/csv_util.c
index 9d2f7f53051ea5e88239cdfb01493b087cb3a686..2c2cba10fd661f941b17e6160da4a12960c9e869 100644
(file)
--- a/
csv_util.c
+++ b/
csv_util.c
@@
-782,7
+782,7
@@
xcsv_waypt_pr(const waypoint *wpt)
if (shortname)
xfree(shortname);
- if (description)
+ if (description
&& description != shortname
)
xfree(description);
index++;